package com.qf.day05;

public class loginDemo {
    public static void main(String[] args) {
        UserM userM = new UserM();
        userM.printInfo();
        System.out.println("-----------");
        boolean regist = userM.regist("admin","123456");
        System.out.println(regist);
        userM.printInfo();

        System.out.println("-----------");
        System.out.println(userM.regist("admin","123456"));
        userM.printInfo();

        System.out.println("-----------");
        System.out.println(userM.login("admin", "123456"));
    }
}
